<div class="print-template-item" ng-repeat="Item in OrderInfo track by $index" style="box-sizing:border-box;">
    <table width="100%" cellspacing="0" style="font-family:'SimSun';text-align:center;border-collapse:collapse;border-spacing: 0;;position: relative;"
        ng-style="{'font-size':printTempStyle.FontSize+'px'}">
        <thead ng-if="printTempStyle.SetAlwaysShowHeadFoot">
            <tr style="text-align: center;vertical-align:middle;">
                <td colspan="{{ printTable.length }}">
                    <span style="width:66.66666667%;float:left;margin-left:16.66666667%;"
                        ng-style="{'fontSize':printTempInfo.TempTitle.FontSize+'px' ,'fontWeight':( printTempInfo.TempTitle.FontWeight ? '700' :'400')}">
                        {{ printTempInfo.TempTitle.Name }}
                    </span>
                    <span style="width:66.66666667%;float:left;margin-left:16.66666667%;"
                        ng-style="{'fontSize':printTempInfo.TempTitle.nameDescheadFontSize+'px' ,'fontWeight':( printTempInfo.TempTitle.nameDescFontWeight ? '700' :'400')}">
                        {{ printTempInfo.TempTitle.NameDesc }}
                    </span>
                </td>
            </tr>
            <tr ng-if="printType=='Encasement4JCK' && printTableHeader.length >0" style="min-height: 40px;" ng-style="{'line-height':printTempStyle.HeadAndFootLineHeight +'px'}">
                <td colspan="{{ printTable.length }}" style="text-align: left;white-space: normal;word-break:break-all;word-wrap:break-word;">
                    <img src="assets/img/logo-print.jpg" style="height: 40px;margin-top: -3px;">
                    <div ng-repeat="item in printTableHeader " ng-style="setWidth(item,'SetHeaderColumn' )">
                        <div ng-if="item.Name == '二维码'" qr-code ng-model="Item.headerInfo.qrcode"></div>
                    </div>
                </td>
            </tr>
            <tr ng-if="printTableHeader.length >0" style="min-height: 40px" ng-style="{'line-height':printTempStyle.HeadAndFootLineHeight +'px'}">
                <td colspan="{{ printTable.length }}" style="text-align: left;white-space: normal;word-break:break-all;word-wrap:break-word;">
                    <div ng-repeat="item in printTableHeader " ng-style="setWidth(item,'SetHeaderColumn' )">
                        <div ng-if="item.Name == '二维码' && printType!='Encasement4JCK'" qr-code ng-model="Item.headerInfo.qrcode"></div>
                        <div ng-if="item.Name != '二维码'">
                            <i style="font-style: normal;"
                                ng-style="{'fontWeight': printType=='Encasement4JCK'?'700':'400'}"
                                ng-bind-html="multiLan?((item.Alias||item.Name)|translate):(item.Alias||item.Name)"></i>:
                            <i style="font-style: normal;" ng-style="{'fontWeight': printType=='Encasement4JCK'?'700':'400'}" ng-bind="{{item.Value}}"></i>
                        </div>
                    </div>
                </td>
            </tr>
        </thead>
        <tbody style="border: 1px solid #000;border-collapse: collapse;">
            <tbody ng-if="!printTempStyle.SetAlwaysShowHeadFoot">
                <tr style="text-align: center;vertical-align:middle;">
                    <td colspan="{{ printTable.length }}">
                        <span style="width:66.66666667%;float:left;margin-left:16.66666667%;"
                            ng-style="{'fontSize':printTempInfo.TempTitle.FontSize+'px' ,'fontWeight':( printTempInfo.TempTitle.FontWeight ? '700' :'400')}">
                            {{ printTempInfo.TempTitle.Name }}
                        </span>
                        <span style="width:66.66666667%;float:left;margin-left:16.66666667%;"
                            ng-style="{'fontSize':printTempInfo.TempTitle.nameDescheadFontSize+'px' ,'fontWeight':( printTempInfo.TempTitle.nameDescFontWeight ? '700' :'400')}">
                            {{ printTempInfo.TempTitle.NameDesc }}
                        </span>
                    </td>
                </tr>
                <tr ng-if="printType=='Encasement4JCK' && printTableHeader.length >0" style="min-height: 40px;" ng-style="{'line-height':printTempStyle.HeadAndFootLineHeight +'px'}">
                    <td colspan="{{ printTable.length }}" style="text-align: left;white-space: normal;word-break:break-all;word-wrap:break-word;">
                        <img src="assets/img/logo-print.jpg" style="height: 40px;margin-top: -3px;">
                        <div ng-repeat="item in printTableHeader " ng-style="setWidth(item,'SetHeaderColumn' )">
                            <div ng-if="item.Name == '二维码'" qr-code ng-model="Item.headerInfo.qrcode"></div>
                        </div>
                    </td>
                </tr>
                <tr ng-if="printTableHeader.length >0" style="min-height: 40px" ng-style="{'line-height':printTempStyle.HeadAndFootLineHeight +'px'}">
                    <td colspan="{{ printTable.length }}" style="text-align: left;white-space: normal;word-break:break-all;word-wrap:break-word;">
                        <div ng-repeat="item in printTableHeader " ng-style="setWidth(item,'SetHeaderColumn' )">
                            <div ng-if="item.Name == '二维码' && printType!='Encasement4JCK'" qr-code ng-model="Item.headerInfo.qrcode"></div>
                            <div ng-if="item.Name != '二维码'">
                                <i style="font-style: normal;"
                                    ng-style="{'fontWeight':printType=='Encasement4JCK'?'700':'400'}"
                                    ng-bind-html="multiLan?((item.Alias||item.Name)|translate):(item.Alias||item.Name)"></i>:
                                <i style="font-style: normal;" ng-style="{'fontWeight': printType=='Encasement4JCK'?'700':'400'}" ng-bind="{{item.Value}}"></i>
                            </div>
                        </div>
                    </td>
                </tr>
            </tbody>

            <tr ng-if="printTable.length >0" style="border: 1px solid #000;border-collapse: collapse;">
                <th ng-repeat="item in printTable" ng-style="{'width':item.colWidth}"
                    style="text-align: center;border: 1px solid #000; border-bottom: 0;"
                    ng-style="{'line-height':printTempInfo.TempTitle.FontSize+'px'}">
                    <i style="font-style: normal;" ng-bind-html="multiLan?((item.Alias||item.Name)|translate):(item.Alias||item.Name)"></i>
                </th>
            </tr>
            <tr ng-if="printTable.length >0 && Item.OrderItem.length == 0" style="border: 1px solid #000"
                ng-style="{'height':printTempStyle.lineHeight +'px'}">
                <td colspan="100" style="border: 1px solid #000;word-break:break-all; word-wrap:break-word;">
                    {{ multiLan?('暂无数据'|translate):'暂无数据' }}
                </td>
            </tr>
            <tr ng-if="printTable.length >0" ng-repeat="pro in Item.OrderItem track by $index"
                style="border: 1px solid #000" ng-style="{'height':printTempStyle.lineHeight +'px'}">
                <td ng-repeat="item in printTable "
                    style="border: 1px solid #000;word-break:break-all; word-wrap:break-word;"
                    ng-bind="{{item.Value}}">
                </td>
            </tr>
            <tr ng-repeat="items in FixedLine track by $index"
                ng-if="printTable.length >0 && printTempStyle.IsFixedLineNumber" style="border: 1px solid #000;"
                ng-style="{'height':printTempStyle.lineHeight +'px'}">
                <td style="text-align: center;border: 1px solid #000;" ng-repeat="item in printTable "
                    ng-class="{'printTemp-setWordBreak':!printTempStyle.WordWrap}" ng-if="item.IsChecked"
                    ng-style="isWorldBreak()">&nbsp;</td>
            </tr>
            <!-- 表尾总计字段：收款单、销售开票审批单 -->
            <tr ng-if="!!additionalTotalPrice">
                <td colspan="{{ printTable.length -1 }}" align="right">总计：</td>
                <td>{{ additionalTotalPrice }}</td>
            </tr>
            <tr>
                <td colspan="7">
                    <table width="100%" id="printTemp-preview-table" ng-if="printTempInfo.TempTitle.Name === '销售开票审批单'"
                        style="font-family:'SimSun';text-align: center;border-collapse: collapse;border-spacing: 0;position: relative;"
                        ng-style="{'font-size': 15+'px'}">
                        <thead>
                            <!-- 审批表标题 -->
                            <tr style="text-align: left;vertical-align:middle;">
                                <td colspan="{{ previewTableData2.length }}" style="width: 100%">
                                    <div style="width: 50%;float:left;"
                                        ng-style="{'fontSize':15+'px','fontWeight':( printTempInfo.TempTitle.FontWeight ? '700' :'400')}">
                                        审批节点表
                                    </div>
                                </td>
                            </tr>
                            <!-- 审批表头 -->
                            <tr>
                                <th ng-repeat="item in previewTableData2" ng-style="{'width':item.colWidth}"
                                    style="border: 1px solid #000;border-collapse: collapse;border-bottom: 0">
                                    {{ (item.Name)|translate }}
                                    <a ng-if="$index != 0" yb-table-drag yb-width="previewWin.Width" yb-index="$index"
                                        yb-data="previewTableData2"></a>
                                </th>
                            </tr>
                        </thead>
                        <tbody style="border: 1px solid #000;border-collapse: collapse;">
                            <tr ng-if="printMyData.length >0" ng-repeat="item in printMyData"
                                style="line-height: inherit;border: 1px solid #000;">
                                <td ng-repeat="p in previewTableData2 "
                                    style="word-break:break-all; word-wrap:break-word;border: 1px solid #000;">
                                    {{ item[p.Key] }}
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>

            <tbody ng-if="!printTempStyle.SetAlwaysShowHeadFoot">
                <tr ng-if="printTableFooter.length >0"
                    ng-style="{'line-height':printTempStyle.HeadAndFootLineHeight +'px'}">
                    <td colspan="{{ printTable.length }}" style="text-align: left">
                        <div ng-repeat="item in printTableFooter " ng-style="setWidth(item,'SetFootColumn')"
                            style="float: left;white-space: normal;word-break:break-all;word-wrap:break-word;">
                            <i style="font-style: normal;"
                                ng-bind-html="multiLan?((item.Alias||item.Name)|translate):(item.Alias||item.Name)"></i>:
                            <i style="font-style: normal;" ng-bind="{{item.Value}}"></i>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="{{ printTable.length }}" style="text-align: left;">
                        <span ng-bind-html="printTempSelfFoot.value  | ybTrustHtml"></span>
                    </td>
                </tr>
            </tbody>
        </tbody>
        <tfoot ng-if="printTempStyle.SetAlwaysShowHeadFoot">
            <tr ng-if="printTableFooter.length >0"
                ng-style="{'line-height':printTempStyle.HeadAndFootLineHeight +'px'}">
                <td colspan="{{ printTable.length }}" style="text-align: left">
                    <div ng-repeat="item in printTableFooter " ng-style="setWidth(item,'SetFootColumn')"
                        style="float: left;white-space: normal;word-break:break-all;word-wrap:break-word;">
                        <i style="font-style: normal;"
                            ng-bind-html="multiLan?((item.Alias||item.Name)|translate):(item.Alias||item.Name)"></i>:
                        <i style="font-style: normal;" ng-bind="{{item.Value}}"></i>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="{{ printTable.length }}" style="text-align: left;">
                    <span ng-bind-html="printTempSelfFoot.value  | ybTrustHtml"></span>
                </td>
            </tr>
        </tfoot>
    </table>
</div>